﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;

namespace ProTrack.Dto
{
    public class MachineryTypeDto
    {
        public MachineryTypeDto()
        {
            Children = new Collection<MachineryTypeDto>() ;
        }

        /// <summary>
        /// 设备类型ID
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 设备类型编码
        /// </summary>
        public string MachineryTypeCode { get; set; }
        /// <summary>
        /// 设备类型名称
        /// </summary>
        public string MachineryTypeName { get; set; }
        public long ParentTypeId { get; set; }
        public string ParentTypeName { get; set; }
        
        public char EnableFlag { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public string CreateTime { get; set; }


        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        public ICollection<MachineryTypeDto> Children { get; set; }



    }
}
